#ifndef CHATWINDOW_H
#define CHATWINDOW_H

#include <QWidget>
#include "BaseWindow.h"
#include "Dream.h"
namespace Ui {
class ChatWindow;
}

class ChatWindow : public BaseWindow
{
    Q_OBJECT
    Dream* mDream;
public:
    explicit ChatWindow(QWidget *parent = 0);
    ~ChatWindow();
    void SetDream(Dream* dream){mDream=dream;};
    void AddMsg(QString msg);
   public slots:
    void OnSendClicked();
    void OnMessageAccepted(std::string msg);

private:
    Ui::ChatWindow *ui;
};

#endif // CHATWINDOW_H
